﻿using Lockstep.Math;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;

namespace Lockstep.Game
{
    [Serializable]
    [NoBackup]
    public partial class BulletEntity : BaseEntity
    {
        [ReRefBackup]
        public BulletConfig config;
        [ReRefBackup]

        public Entity caster;
        public override void DoDestroy()
        {
            base.DoDestroy();
            EntityView?.OnDead();
            EntityView = null;
        }

    }
}
